package com.hyl.test;

import com.alibaba.fastjson.JSON;
import com.hyl.infrastructure.dao.IGroupBuyActivityDao;
import com.hyl.infrastructure.dao.po.GroupBuyActivity;
import lombok.extern.slf4j.Slf4j;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author hyl
 * @description
 * @create 2025-06-15 11:09
 */
@Slf4j
@RunWith(SpringRunner.class)
@SpringBootTest
public class GroupBuyActivityDaoTest {

    @Resource
    private IGroupBuyActivityDao groupBuyActivityDao;
    @Test
    public void test() {
        List<GroupBuyActivity> list = groupBuyActivityDao.queryGroupBuyActivityList();
        log.info("测试结果：{}", JSON.toJSONString(list));

    }


}
